<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Language" content="zh-CN">
    <title>系统提示 - 智能选课系统</title>
    <style>
        .back-btn {
        display: block;
        text-align: center;
        margin-top: 25px;
    }

    .back-btn a {
        display: inline-block;
        padding: 10px 20px;
        background: linear-gradient(135deg, #95a5a6, #7f8c8d);
        color: white;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .back-btn a:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        color: white;
    }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', 'Segoe UI', Tahoma, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .message-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            padding: 40px;
            text-align: center;
            max-width: 500px;
            width: 100%;
            animation: fadeInUp 0.6s ease;
        }

        .message-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #4ecdc4, #44a08d);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }

        .message-icon svg {
            width: 40px;
            height: 40px;
            fill: white;
        }

        .message-title {
            color: #2c3e50;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .message-content {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 12px;
            margin: 20px 0;
            border-left: 4px solid #4ecdc4;
        }

        .message-text {
            color: #495057;
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 0;
        }

        .redirect-info {
            color: #6c757d;
            font-size: 14px;
            margin: 25px 0;
        }

        .loading-bar {
            width: 100%;
            height: 4px;
            background: #e9ecef;
            border-radius: 2px;
            overflow: hidden;
            margin: 20px 0;
        }

        .loading-progress {
            height: 100%;
            background: linear-gradient(90deg, #4ecdc4, #44a08d);
            animation: loading 2s ease-in-out;
            width: 100%;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes loading {
            0% { width: 0%; }
            100% { width: 100%; }
        }
    </style>

</head>
<body>
<div class="message-container">
    <div class="message-icon">
        <svg viewBox="0 0 24 24">
            <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
        </svg>
    </div>
    <h1 class="message-title">系统提示</h1>
    <div class="message-content">
        <p class="message-text">${message}</p>
    </div>

    <div class="back-btn">
        <a href="javascript:history.back()"><i class="fas fa-arrow-left"></i> 返回</a>
    </div></div>
</body>
</html>